﻿/*******************************************************************************
 * Copyright @ 2017 YunSpace.Framework 版权所有
 * Author: GaoTang
 * Description: YunSpace 快速开发平台
 * Website：http://www.yunspace.com.cn
*********************************************************************************/
#region USING SYSTEM
using System;
#endregion

namespace YunSpace.Domain.Entity.MiniSite
{
    public class SiteOrderEntity : IEntity<SiteOrderEntity>, ICreationAudited, IModificationAudited, IDeleteAudited
    {
        ///<summary>
        /// 编号
        /// </summary>
        public string F_Id{ get; set; }

        ///<summary>
        /// 客户编号
        /// </summary>
        public string F_CustomerId{ get; set; }

        ///<summary>
        /// 场地或空间编号
        /// </summary>
        public string F_SiteId{ get; set; }

        ///<summary>
        /// 场地或空间编号
        /// </summary>
        public string F_SpaceId{ get; set; }

        ///<summary>
        /// 活动编号
        /// </summary>
        public string F_ActivityId{ get; set; }

        ///<summary>
        /// 订单类型1场地订单2空间订单3活动订单
        /// </summary>
        public Nullable<int> F_Type { get; set; }

        /// <summary>
        /// 活动人数
        /// </summary>
        public Nullable<int> F_PeopleNum { get; set; }
        
        /// <summary>
        /// 活动类型（场地或空间举办的活动）
        /// </summary>
        public Nullable<int> F_ActivityType { get; set; }


        ///<summary>
        /// 活动布置开始时间
        /// </summary>
        public Nullable<System.DateTime> F_DecorationTime { get; set; }
        ///<summary>
        /// 活动开始时间
        /// </summary>
        public System.DateTime F_ActivityTime { get; set; }

        /// <summary>
        /// 是否有用餐需求
        /// </summary>
        public Nullable<bool> F_IsEat { get; set; }

        /// <summary>
        /// 是否提前布置
        /// </summary>
        public Nullable<bool> F_IsPreview { get; set; }

        ///<summary>
        /// 预计布置开始时间
        /// </summary>
        public Nullable<System.DateTime> F_PreviewStartTime { get; set; }

        ///<summary>
        /// 预计布置结束时间
        /// </summary>
        public Nullable<System.DateTime> F_PreviewEndTime { get; set; }

        ///<summary>
        /// 父订单编号
        /// </summary>
        public string F_ParentId{ get; set; }

        ///<summary>
        /// 开始时间
        /// </summary>
        public Nullable<System.DateTime> F_StartTime{ get; set; }

        ///<summary>
        /// 结束时间
        /// </summary>
        public Nullable<System.DateTime> F_EndTime{ get; set; }

        ///<summary>
        /// 场地或空间预定时间
        /// </summary>
        public Nullable<System.DateTime> F_ReserveTime{ get; set; }

        ///<summary>
        /// 订金价
        /// </summary>
        public Nullable<decimal> F_OrderPrice{ get; set; }

        ///<summary>
        /// 订单价
        /// </summary>
        public Nullable<decimal> F_Price{ get; set; }

        ///<summary>
        /// 订单总价
        /// </summary>
        public Nullable<decimal> F_TotalPrice{ get; set; }

        ///<summary>
        /// 状态0未付订金1已付订金2等待确认3已付款4待举办5已举办6退款中7已退款8结束
        /// </summary>
        public Nullable<int> F_Status{ get; set; }

        ///<summary>
        /// 是否开发票
        /// </summary>
        public Nullable<bool> F_IsInvoice{ get; set; }

        ///<summary>
        /// 是否公开活动
        /// </summary>
        public Nullable<bool> F_IsPublic{ get; set; }

        ///<summary>
        /// 是否评论
        /// </summary>
        public Nullable<bool> F_IsComment{ get; set; }

        ///<summary>
        /// 订单留言
        /// </summary>
        public string F_Remark{ get; set; }

        ///<summary>
        /// 排序
        /// </summary>
        public Nullable<int> F_Sort{ get; set; }

        ///<summary>
        /// 删除状态
        /// </summary>
        public Nullable<bool> F_DeleteMark{ get; set; }

        ///<summary>
        /// 创建时间
        /// </summary>
        public Nullable<System.DateTime> F_CreatorTime{ get; set; }

        ///<summary>
        /// 创建者
        /// </summary>
        public string F_CreatorUserId{ get; set; }

        ///<summary>
        /// 修改时间
        /// </summary>
        public Nullable<System.DateTime> F_LastModifyTime{ get; set; }

        ///<summary>
        /// 修改者
        /// </summary>
        public string F_LastModifyUserId{ get; set; }

        ///<summary>
        /// 删除时间
        /// </summary>
        public Nullable<System.DateTime> F_DeleteTime{ get; set; }

        ///<summary>
        /// 删除者
        /// </summary>
        public string F_DeleteUserId{ get; set; }

        /// <summary>
        /// 退订理由
        /// </summary>
        public string F_UnsubscribeRemark { get; set; }

    }
}

